package com.ruoyi.wisdom.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 班级对象 iot_school_classes
 * 
 * @author ruoyi
 * @date 2024-12-31
 */
public class IotSchoolClasses extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 学校ID */
    @Excel(name = "学校ID")
    private Long comId;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String name;

    /** 排序 */
    @Excel(name = "排序")
    private Integer orderby;

    /** 是否禁用 */
    @Excel(name = "是否禁用")
    private Integer locked;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setComId(Long comId) 
    {
        this.comId = comId;
    }

    public Long getComId() 
    {
        return comId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setOrderby(Integer orderby) 
    {
        this.orderby = orderby;
    }

    public Integer getOrderby() 
    {
        return orderby;
    }
    public void setLocked(Integer locked) 
    {
        this.locked = locked;
    }

    public Integer getLocked() 
    {
        return locked;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("comId", getComId())
            .append("name", getName())
            .append("orderby", getOrderby())
            .append("locked", getLocked())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
